home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
a_utils
/
perl
/
cterm.lha
/
try1
< prev
next >
Wrap
Text File
|
1993-08-13
|
468b
|
20 lines
# cterm example application
# usage: perl try1
# 'perl try1 LOG 1' will produce a cterm logfile LOG.
unshift(@INC,'.') ;
do 'cterm.pl' || die "$0 can't include cterm.pl\n" ;
&startCterm(@ARGV) ;
&initscr ; &nonl ; &cbreak ; &noecho ;
$japh = "just another perl hacker" ;
&mvaddstr(int($LINES/2),int(($COLS-length($japh))/2),$japh) ;
&mvaddstr($LINES-1,0,'hit any key to continue ') ;
&refresh ;
&getchR ;
&clear ;
&move(0,0) ;
&refresh() ;
&endwin ;
&finishCterm ;